<!DOCTYPE html>
<html>
<head>
<#include "/backend/layouts/head.html" />
<#include "/backend/layouts/easyui_head.html" />
<#include "/backend/layouts/iframe_head.html" />
<#include "/backend/layouts/datetimepicker_head.html" />
</head>
<body style="margin: 0; padding: 0;">
	<div class="section-title">添加客户信息</div>
	<div class="form-horizontal" style="width: 50%;">
		<div class="form-group col-sm-12">
			<label class="fg-text control-label" style="width: 150px;">
				登录用户名
				<span>*</span>
			</label>
			<div class="fg-input" style="margin-left: 160px;">
				<input type="text" class="form-control" name="username" placeholder="请填写登录用户名">
			</div>
		</div>
		<div class="form-group col-sm-12">
			<label class="fg-text control-label" style="width: 150px;">
				登录密码
				<span>*</span>
			</label>
			<div class="fg-input" style="margin-left: 160px;">
				<input type="text" class="form-control" name="passwordHash" value="Ab123456" placeholder="请填写登录密码">
			</div>
		</div>
		<div class="form-group col-sm-12">
			<label class="fg-text control-label" style="width: 150px;">
				用户昵称
				<span>*</span>
			</label>
			<div class="fg-input" style="margin-left: 160px;">
				<input type="text" class="form-control" name="name" placeholder="请填写用户昵称">
			</div>
		</div>
		<div class="form-group col-sm-12">
			<label class="fg-text control-label" style="width: 150px;">联系电话</label>
			<div class="fg-input" style="margin-left: 160px;">
				<input type="text" class="form-control" name="phone" placeholder="请填写联系电话">
			</div>
		</div>
		<div class="form-group col-sm-12">
			<label class="fg-text control-label" style="width: 150px;">Email</label>
			<div class="fg-input" style="margin-left: 160px;">
				<input type="text" class="form-control" name="email" placeholder="请填写Email">
			</div>
		</div>
	</div>
	<div class="section-title">添加客户的站点信息</div>
	<div class="form-horizontal" style="width: 50%;">
		<div class="form-group col-sm-12">
			<label class="fg-text control-label" style="width: 150px;">
				站点名称
				<span>*</span>
			</label>
			<div class="fg-input" style="margin-left: 160px;">
				<input type="text" class="form-control" name="hostName" value="我的站点" placeholder="请填写站点名称">
			</div>
		</div>
		<div class="form-group col-sm-12">
			<label class="fg-text control-label" style="width: 150px;">
				站点类型
				<span>*</span>
			</label>
			<div class="fg-input" style="margin-left: 160px;">
				<select class="form-control" name="hostTypeId" style="width: 50%;">
					<option value="0">请选择</option>
					<#list listHostType as item>
					<option value="${item.id}">- ${item.name}</option>
					</#list>
				</select>
			</div>
		</div>
		<div class="form-group col-sm-12">
			<label class="fg-text control-label" style="width: 150px;">
				分控服务器
				<span>*</span>
			</label>
			<div class="fg-input" style="margin-left: 160px;">
				<select class="form-control" name="hostServerId" style="width: 50%;">
					<option value="0">请选择</option>
					<#list listSysServer as item>
					<option value="${item.id}">- ${item.serverName}</option>
					</#list>
				</select>
			</div>
		</div>
		<div class="form-group col-sm-12">
			<label class="fg-text control-label" style="width: 150px;">绑定域名可用</label>
			<div class="fg-input" style="margin-left: 160px;">
				<select class="form-control" name="hostReview" style="width: 50%;">
					<option value="0">不可用</option>
					<option value="1">可用</option>
				</select>
			</div>
		</div>
		<div class="form-group col-sm-12">
			<label class="fg-text control-label" style="width: 150px;">是否正式</label>
			<div class="fg-input" style="margin-left: 160px;">
				<select class="form-control" name="hostTrial" style="width: 50%;">
					<option value="0">试用</option>
					<option value="1">正式</option>
				</select>
			</div>
		</div>
		<div class="form-group col-sm-12">
			<label class="fg-text control-label" style="width: 150px;">
				到期时间
				<span>*</span>
			</label>
			<div class="fg-input" style="margin-left: 160px;">
				<div class='input-group date' id="hostEndAt" style="width: 50%;">
					<input type='text' name='hostEndAt' class="form-control" />
					<span class="input-group-addon">
						<span class="glyphicon glyphicon-calendar"></span>
					</span>
				</div>
			</div>
		</div>
		<div class="form-group col-sm-12">
			<label class="fg-text control-label" style="width: 150px;">
				选择语言
				<span>*</span>
			</label>
			<div class="fg-input" style="margin-left: 160px; line-height: 34px;">
				<#list listSysLanguage as item>
					<label style="margin: 0 12px; cursor: pointer;">
						<input type="checkbox" name="language" value="${item.id}" /> ${item.name}
					</label>
				</#list>
			</div>
		</div>
	</div>
	<div class="form-btns" style="margin: 24px 0;">
		<button type="button" class="btn btn-success g-submit">
			<span class="glyphicon glyphicon-ok"></span>
			确定保存
		</button>
		<button type="submit" class="btn btn-default g-reset">重置</button>
	</div>
	<script type="text/javascript" src="/static/js/backend/customermanage/append.js"></script>
</body>
</body>
</html>